#ifndef _ML_DATA_POINT_H_
#define _ML_DATA_POINT_H_
#include "MLCommon.h"
#include "MLDataVector.h"
_MYLABLIB_BEGIN


// Data Point
typedef CMLDataVector<double> CMLDataPoint;

inline static CMLDataPoint ML_MakeDataPoint(double val)
{
	CMLDataPoint p(1);
	p[0] = val;
	return p;
}

inline static CMLDataPoint ML_MakeDataPoint(double x, double y)
{
	CMLDataPoint p(2);
	p[0] = x;
	p[1] = y;
	return p;
}

inline static CMLDataPoint ML_MakeDataPoint(double x, double y, double z)
{
	CMLDataPoint p(3);
	p[0] = x;
	p[1] = y;
	p[2] = z;
	return p;
}


_MYLABLIB_END
#endif
